Skip to content

Conversation

@hadley
Copy link
Member

@hadley hadley commented Aug 4, 2025

Because positron (and other editors) have an edit of trimming additional trailing newlines when saving. It probably would have been better to not write this in the first place, but I think we don't want to change that now as it will cause diffs to all snapshots, and only protects against a problem that happens rarely.

Fixes #2092

hadley added 2 commits August 4, 2025 08:09
Because positron (and other editors) have an edit of trimming additional trailing newlines when saving. It probably would have been better to not write this in the first place, but I think we don't want to change that now as it will cause diffs to all snapshots, and only protects against a problem that happens rarely.

Fixes #2092
@hadley hadley merged commit c52c7df into main Aug 4, 2025
13 checks passed
@hadley hadley deleted the snap-trailing-nl branch August 4, 2025 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Figure out what's happening when trailing new line is removed

2 participants